package com.tydic.springboot.excel.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.Data;

import java.util.List;

/**
 * SysDictPage
 *
 * @author hq
 * @date 2022-03-08 11:13
 */
@Data
public class SysDictPage {

    private String id;

    @Excel(name = "字典名称", width = 20)
    private String dictName;

    @Excel(name = "字典编码", width = 30)
    private String dictCode;

    @ExcelCollection(name = "字典列表")
    private List<SysDictItem> sysDictItemList;

    public SysDictPage() {
    }

    public SysDictPage(String id, String dictName, String dictCode) {
        this.id = id;
        this.dictName = dictName;
        this.dictCode = dictCode;
    }
}